package com.qi.qipay.commons.utils;

public class ClassTypeUtil {

    public static Object convertToTargetClass(Object o, Class<?> targetClass) {
        if(o!=null){
            return targetClass.cast(o);
        }
        return o;
    }
}
